package org.zfes.snowier.zbss.xzy.biz.solution.model;
import java.util.Date;

import org.zfes.snowier.core.data.IBaseModel;
public class SolutionDevice extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public SolutionDevice() {}
	public SolutionDevice(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	  private java.lang.Long solutionId;
	  private java.lang.Long deviceId;
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="备注长度不能大于100")
	  private java.lang.String remark;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
 
	  public SolutionDevice( Long deviceId,Long solutionId) {
			super();
			this.solutionId = solutionId;
			this.deviceId = deviceId;
		}
	public SolutionDevice(Long solutionId, Long deviceId, String remark, Date createTime, Date updateTime) {
		super();
		this.solutionId = solutionId;
		this.deviceId = deviceId;
		this.remark = remark;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}
	//<-------------------------------------------->
	public SolutionDevice setSolutionId(java.lang.Long solutionId){
	 this.solutionId=solutionId;
	 return this;
	}
	public java.lang.Long getSolutionId(){
		return this.solutionId;
	}
	public SolutionDevice setDeviceId(java.lang.Long deviceId){
	 this.deviceId=deviceId;
	 return this;
	}
	public java.lang.Long getDeviceId(){
		return this.deviceId;
	}
	public SolutionDevice setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public SolutionDevice setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public SolutionDevice setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public SolutionDevice setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}

}
